<template>
  <div class="charm-ranking-list">
    <div class="banner">
      <div class="title">魅力主播奖励</div>
    </div>
    <div class="title-txt">活动时间:7月17日0:00-7月23日24:00</div>
    <div class="bg"></div>
    <div class="table-card">      
      <div class="table-card-in">
        <div class="th">
          <span>档次</span>
          <span>日收入(嗨豆)</span>
          <span>奖励金额(元)</span>
        </div>
        <div v-for="(item, index) in list" :key="index">
          <div class="tr">
            <span>{{item.dangci}}</span>
            <span>{{item.haidou}}</span>
            <span>{{item.money}}</span>
          </div>
        </div>
      </div>
    </div>
    <div class="tip">
      活动注意事项<br/>
      1.单日奖励统计截止时间为当日24:00<br/>
      2.主播当日累计直播时长不低于2小时<br/>
      3.如主播直播期间出现长时间挂播不出人，   双开等直播内容，立即取消奖励资格<br/>
      4.奖励将于次日以嗨豆形式发放到主播个人账号
      <p style="color: #9d125f;">最终解释权为嗨够官方所有</p>
    </div>
  </div>
</template>

<script>
import { XInput, Group, XButton, Cell } from "vux";

export default {
  name: "Charm",
  data() {
    return {
      list: [
        {dangci:'一档奖励', haidou: '10万', money: '40'},
        {dangci:'二档奖励', haidou: '20万', money: '60'},
        {dangci:'三档奖励', haidou: '40万', money: '100'},
        {dangci:'四档奖励', haidou: '100万', money: '300'},
        {dangci:'五档奖励', haidou: '200万', money: '500'},
        {dangci:'六档奖励', haidou: '500万', money: '1000'},
        {dangci:'七档奖励', haidou: '1000万', money: '2000'},
      ]
    }
  }
};
</script>

<style lang="less">
.charm-ranking-list {
  min-height: 100%;
  background-color: #390180;
  display: flex;
  flex-direction: column;
  .banner {
    position: relative;
    width: 213px;
    height: 81px;
    margin: 0 auto;
    background: url("../assets/charm/title-zhuangshi.png") no-repeat center
      center;
    background-size: 100% 100%;
    .title {
      position: absolute;
      width: 165px;
      height: 43px;
      top: 35px;
      left: 0;
      right: 0;
      margin: 0 auto;
      background: url("../assets/charm/title-kuang.png") no-repeat center center;
      background-size: 100% 100%;
      font-size: 21px;
      color: #fff;
      text-align: center;
      line-height: 43px;
    }
  }
  .title-txt {
    font-size: 11px;
    color: #fff;
    width: 210px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    background-color: rgba(224, 25, 150, 1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0);
    margin: 6px auto 0;
  }
  .table-card {
    width: 310px;
    height: 360px;
    padding: 15px 10px;
    box-sizing: border-box;
    margin: 12px auto 0;
    border-radius: 10px;
    background-color: rgba(125, 53, 213, 1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0);
    position: relative;
  }
  .bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 255px;
    background: url("../assets/charm/bg_zhuangshi.png") no-repeat center center;
    background-size: 100% 100%;
  }
  .table-card-in {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgba(106, 26, 193, 1);
    border: 1px solid rgba(255, 255, 255, 0);
    .th {
      width: 100%;
      border-radius: 10px 10px 0px 0px;
      background-color: rgba(88, 30, 161, 1);
      border: 1px solid rgba(255, 255, 255, 0);
      padding: 0 20px;
      box-sizing: border-box;
    }
    .th span {
      padding-right: 20px;
      font-size: 13px;
      color: #fff;
      line-height: 40px;
      font-weight: bold;
    }
    .tr {
      font-size: 12px;
      color: #fff;
      display: flex;
      height: 40px;
      align-items: center;
      padding: 0 20px;
      box-sizing: border-box;
      span {
        flex: 1;
        text-align: left;
      }
    }
  }
  .tip {
    width: 300px;
    margin: 15px auto 0;
    font-size: 12px;
    color: #b48ee1;
    line-height: 24px;
  }
}
</style>
